{% extends "topic.html" %}
{% block pageName %}BioVenturist Product{% endblock %}

{% block queryScriptTopic %}
<script type="text/javascript" src="/bvapp/static/js/product_read.js"></script>
<script type="text/javascript" src="/bvapp/static/js/product_write.js"></script>

<script language="javascript" type="text/javascript">

function load_info() {

	var topic_id = parseTopicID("{{ topic_id }}")
	var url_read = "http://{{ domain_used }}/api/service/mqlread";
	var url_write = "http://{{ domain_used }}/api/service/mqlread";	
	get_content(url_read, url_write, '{{ domain_used }}', '{{ bioventurist_domain }}', topic_id);
}

</script>
{% endblock %}
		
		
{% block col2_container %}
	<div id="topic_logo"><img src="" alt="" name="thumb" align="middle" id="thumb" /></a></div>
	<div id="title"><span id="title"></span></div>
	<div id="page_type">(Product)</div> <!-- page_type -->
	<div id="page-wrap">
{% endblock %}

{% block tabs %}
  
<div id="tabbed-container">
	<ul>
		<li><a href="#Overview"><span>Overview</span></a></li>
		<li><a href="#Market"><span>Market</span></a></li>
		<li><a href="#Edit"><span>Edit</span></a></li>
		
	</ul>

	<div id="Overview">
		<div>
			<h2><span>Overview</span></h2>
			<p><div id="description"></div></p>	
			<br><br/>
			<table>		
				<tr> <td><strong>Developed by</strong></td><td><div align="left" id="companies"><span></span></div></td></tr>
				<tr> <td><strong>Target</strong></td><td><div align="left" id="targets"><span></span></div></td></tr>
			</table>	
			
			<br/>
			<div id="companies_involved"></div>
			<br/>
			<div id="technologies"></div>
		</div>	
	</div>
	<div id="Market">
		<div id="sales"></div>
	</div>
	<div id="Edit">
		{% if user.is_authenticated %} 
		<br>Under construction ...</br>  
		<div id="freebase_redirect"></div>
		{% else %}
            <li><a href="{% url django.contrib.auth.views.login %}">(Login to edit)</a></li> 
        {% endif %} 		  		
	</div>	
</div>
{% endblock %}		
